package com.game.majiang;

import com.game.majiang.config.LogManager;
import com.game.majiang.logic.LogicServer;
import com.game.server.GameServer;
import com.game.server.web.WebServer;

public class Server extends GameServer {


  @Override
  public void init() throws Exception {
    super.init();
    LogManager.getInstance().Log("逻辑服务器启动开始");
    LogicServer.getInstance().init();
    LogManager.getInstance().Log("版本0.0.1");

  }

  @Override
  public boolean close() {
    if (super.close()) {
      LogManager.getInstance().Log("逻辑服务器启动关闭");
      return LogicServer.getInstance().close();
    } else {
      return false;
    }
  }
}


